package screen;

import java.util.Objects;

/**
 * 块
 * Created by sk.z on 2022/3/3.
 */
public class Block {
    public LitNode litNode;
    public String line;
    public int x;
    public int y;

    public Block(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public String bracketName(){
        return Objects.isNull(litNode)?"   ":"["+litNode.name+"]";
    }
}
